﻿#include "MainWidget.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWidget w;
    w.show();

    QSharedPointer<ZShadowEffect> shadow_effect(new ZShadowEffect);
    shadow_effect->setShadowWidth(10);
    shadow_effect->setShadowOffset(QPoint(0, 0));
    shadow_effect->setShadowColor(Qt::black);
    w.applyShadowEffect(shadow_effect);

    QSharedPointer<ZRoundEffect> round_effect(new ZRoundEffect);
    round_effect->setXRadius(3);
    round_effect->setYRadius(3);
    w.applyRoundEffect(round_effect);


    return a.exec();
}
